package com.lzxuni.modules.pestdetails.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 虫害信息管理
 * </p>
 *
 * @author rdf
 * @since 2020-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_pest_disastermanagement")
public class PestDisastermanagement implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private String disasterId;
    /**
     * 地块id
     */
    private String landId;

    /**
     * 发生时间
     */
    private Date happenTime;

    /**
     * 虫害名称
     */
    private String pestsName;

    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 图片路径
     */
    @TableField(exist = false)
    private String urlPath;
    /**
     * 地块id
     */
    @TableField(exist = false)
    private String parentId;
    /**
     * 地块id
     */
    @TableField(exist = false)
    private String treeId;
    /**
     * 开始时间
     */
    @TableField(exist = false)
    private String beginDate;

    /**
     * 结束时间
     */
    @TableField(exist = false)
    private String endDate;
    /**
     * 地块编号
     */
    @TableField(exist = false)
    private String landNum;


}
